<template>
  <div class="container" >
		<ul class="content">
			<li>
				姓名 : <span class="opacity">卓传伟</span>
			</li>
			<li>
				性别 : <span class="opacity">男</span>
			</li>
			<li>
				年龄 : <span class="opacity">23</span>
			</li>
			<li>
				电话 : <span class="opacity">18046068304</span>
			</li>
			<li>
				邮箱 : <span class="opacity">1060813873@qq.com</span>
			</li>
			<li>
				意向工作 : <span class="opacity">前端开发工程师</span>
			</li>
			<li>
				学历/经历 : <span class="opacity">本科、一年</span>
			</li>
			<li>
				现暂居地 : <span class="opacity">福州市软件园</span>
			</li>
		</ul>

    
  </div>
</template>

<script>
import card from '@/components/card'

export default {
  data () {
    return {
      motto: 'Hello World',
      userInfo: {}
    }
  },

  components: {
    card
  },

  methods: {
    bindViewTap () {
      const url = '../mine/mine'
      wx.navigateTo({ url })
    },
    getUserInfo () {
      // 调用登录接口
      wx.login({
        success: () => {
          wx.getUserInfo({
            success: (res) => {
              this.userInfo = res.userInfo
            }
          })
        }
      })
    },
    clickHandle (msg, ev) {
      console.log('clickHandle:', msg, ev)
    }
  },

  created () {
    // 调用应用实例的方法获取全局数据
    this.getUserInfo()
  }
}
</script>

<style scoped>
	.content{margin-top: -50px;
		
	}
.content li{
	margin-bottom: 12%;
	
}
.opacity{opacity: 0.6;}
</style>
